@import "./mixin1.scss";

.login-alert{
    width: 25%;
    position: absolute;
    z-index: 99;
    left: 50%;
    margin-left: -15%;
    text-align: center;
    display: none;
}
.login-alert-success,.login-alert-danger{
    @extend .login-alert;
    display:block;
    background-color: rgb(144, 235, 8);
    opacity: .7;
  
}
.login-alert-danger{
    @extend .login-alert-success;
    background-color: red;
}

.container {
   
    height: 100%;
    background: url(../../static/images/login-bg.png) no-repeat 50%;
    background-size: cover;
    border: 1px solid transparent;

    .login-box {
        margin: 79px auto 0;
        width: 1092px;
        position: relative;

        &::after {
            content: "";
            width: 1px;
            height: 128px;
            background: #ded1cf;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .qr-code-main {
            padding-left: 106px;
            margin-right: 160px;
            position: relative;
            display: inline-block;
            vertical-align: top;

            .module-title {
                font-size: 28px;
                color: #22282d;
                padding-left: 10px;
            }

            .qr-code-box {
                margin-top: 49px;

                img {
                    width: 280px;
                    margin-top: 15px;
                    border: 1px solid #E2E2E2;
                }
            }

            .other-login {
                font-size: 14px;
                color: #22282d;
                padding-top: 15px;
                padding-left: 17px;

                a {
                    display: inline-block;
                    width: 24px;
                    height: 24px;
                    margin-left: 24px;
                    vertical-align: sub;
                    color: #000;

                    >img {
                        width: 26px;
                        height: 26px;

                    }

                    // img:nth-child(1){
                    //     width: 30px;
                    //     height: 30px;
                    // }

                }
            }
        }

        .user-login {
            margin-left: 150px;
            display: inline-block;
            vertical-align: top;

            p {
                font-size: 28px;
                color: #22282d;
            }

            .login-form {
                margin-top: 64px;

                .login-input-box {
                    margin-bottom: 24px;
                    height: 42px;
                    line-height: 42px;
                    width: 288px;
                    border: 1px solid #22282d;
                    position: relative;
                    box-sizing: border-box;
                    padding-left: 30px;

                    input {
                        background-color: transparent;
                        font-size: .16rem;
                        width: 90%;
                        border: none;
                    }
                }

                .options {
                    font-size: 12px;
                    color: #22282d;
                    margin-bottom: 88px;
                    cursor: pointer
                }

                .login-btn {
                    width: 288px;
                    height: 42px;

                    .dr-btn-wrap {
                        border: 1px solid #22282d;
                        width: 288px;
                        height: 42px;
                        text-align: center;
                        font-size: 13px;
                        color: #22282d;
                        display: flex;

                        justify-content: center;
                        background: #fff;
                        cursor: pointer;
                        z-index: 1;
                        outline: 0;
                        position: relative;
                        box-sizing: border-box;

                        .primary-btn {
                            border-left: 1px solid #22282d;
                            border-right: 1px solid #22282d;
                            background: #22282d;
                            height: 100%;
                            width: calc(100% - 4px);
                            box-sizing: border-box;
                            text-align: center;
                            cursor: pointer;

                            .dr-btn-text {
                                color: #fff;
                                position: absolute;
                                left: 0;
                                top: 0;
                                right: 0;
                                bottom: 0;
                                display: flex;
                                align-items: center;
                                justify-content: center;

                            }

                        }
                    }
                }

                .agreement-tips{
                    font-size: 12px;
                    color: #6a6d72;
                    margin-top: 26px;
                    width: 265px;
                    .el-checkbox{
                        margin-right: 0;
                        font-weight: 500;
                        color: #606266;
                        font-size: 14px;
                        cursor: pointer;
                        user-select: none;
                        display: inline-block;
                        position: relative;
                        white-space: nowrap;
                        .el-checkbox__input{
                            vertical-align: top;
                            margin-top: 3px;
                            cursor: pointer;
                            outline: 0;
                            line-height: 1;
                            display: inline-block;
                            position: relative;
                            white-space: nowrap;
                            .el-checkbox__inner{
                                border-color: #a17f7f;
                                background-color: #a17f7f;
                                display: inline-block;
                                position: relative;
                                border: 1px solid #dcdfe6;
                                border-radius: 2px;
                                box-sizing: border-box;
                                width: 14px;
                                height: 14px;
                                z-index: 1;
                                &::after{
                                    transform: rotate(45deg) scaleY(1);
                                    box-sizing: content-box;
                                    content: "";
                                    border: 1px solid #fff;
                                    border-left: 0;
                                    border-top: 0;
                                    height: 7px;
                                    left: 4px;
                                    position: absolute;
                                    top: 1px;
                                    width: 3px;
                                }
                            }
                        }

                        .el-checkbox__label{
                            font-size: 12px;
                            color: #6a6d72;
                            white-space: break-spaces;
                            display: inline-block;
                            padding-left: 10px;
                            line-height: 19px;
                        }

                        a{
                            color: #6a6d72;
                        }
                    }
                }
            }
        }
    }
}